package cn.mst.vrs.controller.admin.payrefund.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 支付退款单 Response VO")
@Data
@ExcelIgnoreUnannotated
public class PayRefundRespVO {

    @Schema(description = "付款单主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "18924")
    @ExcelProperty("付款单主键ID")
    private Long payId;

    @Schema(description = "应退金额", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("应退金额")
    private BigDecimal dueRefund;

    @Schema(description = "实退金额", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("实退金额")
    private BigDecimal realRefund;

    @Schema(description = "退款状态（0：等待中，1：退款成功，2：退款失败）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("退款状态（0：等待中，1：退款成功，2：退款失败）")
    private Integer status;

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "177")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}